package com.aaa.system.service.impl;

import com.aaa.entity.Admin;
import com.aaa.entity.Permission;
import com.aaa.system.dao.AdminDao;
import com.aaa.system.dao.PermissionDao;
import com.aaa.system.service.AdminService;
import com.aaa.system.service.PermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: qy158-cai-parent
 * @description:
 * @author: 闫克起2
 * @create: 2023-02-22 17:11
 **/
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionDao, Permission> implements PermissionService {
    @Autowired
    private PermissionDao permissionDao;
    @Override
    public List<Permission> selectPermissionByUserid(Integer userid) {
        return permissionDao.selectPermissionByUserid(userid);
    }
}























